package Monitor;

import se.sics.kompics.address.Address;
import se.sics.kompics.network.Message;

/**
 * The <code>ChangeUpdatePeriod</code> class.
 * 
 * @author Cosmin Arad <cosmin@sics.se>
 * @version $Id$
 */
public final class ChangeUpdatePeriod extends Message {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8589306178034376017L;
	
	private final long newUpdatePeriod;

	public ChangeUpdatePeriod(long newUpdatePeriod, Address source,
			Address destination) {
		super(source, destination);
		this.newUpdatePeriod = newUpdatePeriod;
	}

	public long getNewUpdatePeriod() {
		return newUpdatePeriod;
	}
}
